.class Lcom/trademob/tracking/TMRequestProcessor$2;
.super Ljava/util/TimerTask;
.source "TMRequestProcessor.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/trademob/tracking/TMRequestProcessor;->runNextUrl()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/trademob/tracking/TMRequestProcessor;


# direct methods
.method constructor <init>(Lcom/trademob/tracking/TMRequestProcessor;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    .line 104
    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 108
    iget-object v1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    #getter for: Lcom/trademob/tracking/TMRequestProcessor;->myRequests:Ljava/util/Vector;
    invoke-static {v1}, Lcom/trademob/tracking/TMRequestProcessor;->access$0(Lcom/trademob/tracking/TMRequestProcessor;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-lez v1, :cond_0

    .line 112
    iget-object v2, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    monitor-enter v2

    .line 114
    :try_start_0
    iget-object v1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    #getter for: Lcom/trademob/tracking/TMRequestProcessor;->myRequests:Ljava/util/Vector;
    invoke-static {v1}, Lcom/trademob/tracking/TMRequestProcessor;->access$0(Lcom/trademob/tracking/TMRequestProcessor;)Ljava/util/Vector;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Vector;->firstElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 115
    .local v0, buffer:Ljava/lang/String;
    iget-object v1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    #calls: Lcom/trademob/tracking/TMRequestProcessor;->removeUrl(Ljava/lang/String;)V
    invoke-static {v1, v0}, Lcom/trademob/tracking/TMRequestProcessor;->access$4(Lcom/trademob/tracking/TMRequestProcessor;Ljava/lang/String;)V

    .line 116
    iget-object v1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    #calls: Lcom/trademob/tracking/TMRequestProcessor;->addRunningUrl(Ljava/lang/String;)V
    invoke-static {v1, v0}, Lcom/trademob/tracking/TMRequestProcessor;->access$5(Lcom/trademob/tracking/TMRequestProcessor;Ljava/lang/String;)V

    .line 117
    iget-object v1, p0, Lcom/trademob/tracking/TMRequestProcessor$2;->this$0:Lcom/trademob/tracking/TMRequestProcessor;

    #getter for: Lcom/trademob/tracking/TMRequestProcessor;->myWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/trademob/tracking/TMRequestProcessor;->access$6(Lcom/trademob/tracking/TMRequestProcessor;)Landroid/webkit/WebView;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 112
    monitor-exit v2

    .line 120
    .end local v0           #buffer:Ljava/lang/String;
    :cond_0
    return-void

    .line 112
    :catchall_0
    move-exception v1

    monitor-exit v2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method
